import { createApp } from 'vue'
import { createPinia } from 'pinia'
import './style.css'
import App from './App.vue'
import router from '@/core/router' // 导入路由实例
import 'element-plus/dist/index.css'

const app = createApp(App)

app.use(createPinia())
// 将路由实例挂载到应用上
app.use(router)

app.mount('#app')
